<extend name="Public/base" />

<block name="wrapper">
	<div class="row">
		<div class="col-lg-12">
			<div class="panel panel-default">
				<div class="panel-heading"><h3>修改页面</h3></div>
				<!-- /.panel-heading -->
				<div class="panel-body">
					<div class="dataTable_wrapper">
					 <form action="{:U('Config/update')}"  enctype="multipart/form-data" method="post">
						<table class="table table-striped table-bordered table-hover" id="dataTables-example" align="center">
						 <input type="hidden" name="id" value="{$data['id']}">
							<thead>                          
                               <tr>
                               	   <th>网站名</th>
                               	   <td><input type="text" name="webname" value="{$data['webname']}"></td>
                               </tr>
                               <tr>
                               	   <th>网站logo</th>
                               	   <td><input type="file" name="logo" value="{$data['logo']}"></td>
                               	</tr>
                               <tr>
                               	   <th>网址</th>
                               	   <td><input type="text" name="url" value="{$data['url']}"></td>
                               	</tr>                               	

                               <tr>
                               	   <th>关键字</th>
                               	   <td><input type="text" name="keywords" value="{$data['keywords']}"></td>
                               </tr>                               

                               <tr>
                               	   <th>网站描述</th>
                               	   <td><input type="text" name="description" value="{$data['description']}"></td>
                               </tr>
                               <tr><td celspan="2"><input type="submit" value="提交"></td></tr>									
							</thead>

						</table>
					</form>
					</div>
					<!-- /.table-responsive -->
				</div>
				<!-- /.panel-body -->
			</div>
			<!-- /.panel -->
		</div>
		<!-- /.col-lg-12 -->
	</div>

</block>